package study.java.thread06;

/**
* @Name: GetStudentRunnable
* @Description: 消费学生数据类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-1-9 下午4:54:57 
* @Version: V1.0
 */
public class GetStudentRunnable02 implements Runnable {
	
	private Student02 student ;

	public GetStudentRunnable02(Student02 student) {
		this.student = student;
	}

	@Override
	public void run() {
		while(true) {
			//消费数据
			student.get() ;
		}
	}

}
